package com.ahtcm.tcmlearning.dao;

import com.ahtcm.tcmlearning.model.Collection;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface CollectionMapper {
    int insert(Collection record);

    int insertSelective(Collection record);
    /**
     * @description 收藏题目
     * @author yangrongdeng
     * @param targetId
     * @param userId
     * @param collectionType
     * @param dicId
     * @param createTime
     * @param isValid
     */
    void collectionQuestion(@Param("targetId") Integer targetId, @Param("userId")Integer userId, @Param("collectionType")Integer collectionType,@Param("dicId") Integer dicId, @Param("createTime")Date createTime,@Param("isValid") int isValid);
}